Skip to content

Conversation

@ritorhymes
Copy link

Summary

This PR adjusts media breakpoints so that the mobile version of the header appears at 1000px instead of 825px which fixes the horizontal page overflow caused by the desktop version's header contents not fitting at that original 825px breakpoint. The overflow was causing the page content to be offset left, shrinking the header desktop buttons and adding excess whitespace to the right side of the footer.

Closes #3483

Testing

You can test the fix out on a live demo zaproxy.ritovision.com or on a local build.

To verify, simply go to any page (try the homepage) and adjust your desktop browser screen size anywhere between 826-1000px and notice that the pages no longer have overflow breaking the layout.

I have tested the fix on Chrome, Edge and Firefox desktop browsers and confirmed its stability.

Before and After Screenshots

Top of Homepage - BEFORE

Notice the page content is significantly offset to the left. If you look closely at the line separator under the header, it ends underneath the Download button when it should span the full page; this indicates the header is overflowing and forcing the layout to compress.

Desktop header overflow around ~900px causing horizontal scroll; content shifts left and the header divider line ends beneath the Download button instead of spanning the page



Bottom of Homepage - BEFORE

Notice the footer has excess whitespace on its right side (a visual symptom of the page being forced left due to header overflow in this breakpoint range).

Footer shows extra whitespace on the right due to header overflow between ~826–1000px



Top of Homepage - AFTER

Notice the content is no longer offset left

top of homepage with without page overflow



Bottom of Homepage - AFTER

Notice the footer has no excess whitespace along its right side

bottom of homepage without visible footer overflow

@psiinon
Copy link
Member

psiinon commented Dec 26, 2025

Logo
Checkmarx One – Scan Summary & Details7a57d945-472c-4105-a695-541b46a57cee

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

@thc202
Copy link
Member

thc202 commented Dec 26, 2025

There's no point raising an issue if you are going to PR the fix, the website repo does not have that much activity that needs the extra tracking.

@thc202 thc202 changed the title Fix: prevent page overflow by switching to mobile header at 1000px Prevent page overflow by switching to mobile header at 1000px Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Header breaking page layout at 826-1000px breakpoints

3 participants